// 登录
import {request} from "@/utils/reuqest";
import type {LoginParams} from "@/types/user";

export const loginAPI = (data: LoginParams) => {
    return request<{ token: string }>("/park/login", "POST", data);
};